# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import tinymce.models


class Migration(migrations.Migration):

    dependencies = [
        ('server', '0002_auto_20171110_1718'),
    ]

    operations = [
        migrations.CreateModel(
            name='HotProject',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
                ('is_delete', models.BooleanField(default=False)),
                ('create_time', models.DateTimeField(auto_now_add=True)),
                ('update_time', models.DateTimeField(auto_now=True)),
                ('name', models.CharField(verbose_name='热门项目名称', max_length=20)),
                ('img', models.ImageField(verbose_name='图片', upload_to='server')),
                ('level', models.IntegerField(default=0)),
                ('short', models.CharField(verbose_name='简介', max_length=100)),
                ('desc', tinymce.models.HTMLField(verbose_name='详情')),
                ('type', models.ForeignKey(to='server.ServerType', verbose_name='项目类型')),
            ],
            options={
                'verbose_name_plural': '热门项目',
                'verbose_name': '热门项目',
            },
        ),
    ]
